package com.cll.learn.provider;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author CLL
 */
@EnableDubbo(scanBasePackages = {"com.cll.learn"})
@SpringBootApplication
public class ServiceProviderApplication {

    private static final Logger LOGGER = LoggerFactory.getLogger(ServiceProviderApplication.class);

    public static void main(String[] args) {
        LOGGER.info("===>>> 服务提供者开始启动");
        SpringApplication.run(ServiceProviderApplication.class, args);
        LOGGER.info("===>>> 服务提供者启动成功");
    }

}
